package com.sq.partner.manager.controller;


import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

import com.sq.partner.manager.service.GetwayChannelUserService;
import com.sq.partner.manager.util.LogUtil;

/**
 * 非模块化映射
 * @author sankun
 *
 */
@Controller
public class CommonController {
	private static Logger logger = LogUtil.getLog(CommonController.class);
    
    /**
     * 主显示
     * @param model
     * @return
     */
    @RequestMapping(value = "/common/error")
    public String commonError(ModelMap model,HttpServletRequest request) throws Exception {
        return "common/error";
    }
    @RequestMapping(value = "/common/errorrole")
    public String commonErrorRole(ModelMap model,HttpServletRequest request) throws Exception {
        return "common/error_role";
    }
}
